import Vue from 'vue'
import vuex from 'vuex'
import state from './state'
import createPersistedState from "vuex-persistedstate"

Vue.use(vuex)

export default new vuex.Store({
  plugins: [createPersistedState({
    storage: window.sessionStorage
})],
  modules: {
    headTitle: state
  }
})
